package com.lovcreate.shop.service.impl;


import com.lovcreate.shop.api.response.DemoResponse;
import com.lovcreate.shop.api.service.DemoService;
import com.lovcreate.shop.service.dao.DemoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 文件名：Demo Service实现
 * 创建人：gaobo
 * 创建日期 2016-12-07
 * 描  述：Demo Service实现
 * 版本号： 1.0
 **/
@Service
public class DemoServiceImpl implements DemoService {
    @Autowired
    DemoMapper demoMapper;

    @Override
    public List<DemoResponse> queryAll() {
        return demoMapper.queryAll();
    }
}
